﻿<%@ Page Title="" Language="C#" MasterPageFile="~/admin/main/AdminBase.Master" AutoEventWireup="true" CodeBehind="list_func.aspx.cs" Inherits="Com.Ompchina.Web.admin.system.list_func" %>
<%@ Import Namespace="System.Collections.Generic" %>
<%@ Import Namespace="Model.AuthModel" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cph_header" runat="server">
<script type="text/javascript">
    $(function () {
        Init.tableList(".list");
    })
</script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cph_pagename" runat="server">
    权限配置 &gt; <%= base.ConvertAction("功能") %>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cph_pagelink" runat="server">
    <li><a href="add_func.aspx?action=add">新增功能</a></li>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="cph_main" runat="server">
<table class="table list" cellpadding="0" cellspacing="0">
	<tr>
    	<th>功能名称</th>
    	<th>左侧显示</th>
        <th>功能描述</th>
        <th class="center w200">操作</th>
    </tr>
    <%
        IList<FuncInfo> list = this._GetFunc();
        if (list != null && list.Count > 0) 
        {
            foreach (FuncInfo info in list) 
            {
                %>
                <tr class="item">
                    <td><%= info.FuncName %></td>
                    <td><%= info.FuncMenu.Equals("y")?"是":"否" %></td>
                    <td><%= Server.HtmlDecode(info.FuncDescription) %></td>
                    <td class="center"><a href="add_func.aspx?action=update&id=<%= info.FuncID %>">修改</a></td>
                </tr>
                <%
            }
        }
    %>
</table>
</asp:Content>
